package Server

import "github.com/gin-gonic/gin"

type RouteFunc struct {
	HTTPMethod string
	Route      string
	Func       func(c *gin.Context)
}

var routes = []RouteFunc{
	{ // 回答用户提问
		HTTPMethod: "POST",
		Route:      route + "/answer",
		Func:       answerQuestion,
	},

	{ // 解析文件到图数据库
		HTTPMethod: "POST",
		Route:      route + "/pdfAnalyze",
		Func:       fileAnalyze,
	},
}
